﻿using System;
using System.Collections.Generic;
using System.Text;
using Microsoft.Practices.CompositeUI;
using Microsoft.Practices.CompositeUI.SmartParts;

namespace Shortcuts
{
	public sealed class ShortcutsWorkItem : WorkItem
	{
		protected override void OnRunStarted()
		{
			base.OnRunStarted();

			//show the shortcuts view
			Workspaces[WPFCABShell.Shell.Interface.Workspaces.MainWorkspace].Show(SmartParts.AddNew<ShortcutsView>(), new SmartPartInfo("Shortcuts", null));
		}
	}
}
